package com.zygh.lz.entity.duty;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author lee
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("duty_post_mode")
@ApiModel(value = "DutyPostModel对象",description = "岗位职位关系")
public class DutyPostModel implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键id")
    private Integer id;

    private Integer postId;

    private Integer modeId;
}
